//店铺接口模块

//引入工具函数
import request from '@/until/request'

//获取店铺详情
export const getShopInfoReq = () => {
  return request({
    method: 'get',
    url: '/shop/info',
  })
}

//店铺图片上传接口----图片onload里会有内置：action,不会走接口，可以不用写
export const shopUploadReq = data => {
  return request({
    method: 'post',
    url: '/shop/upload',
    data,
  })
}

//店铺内容修改
export const editShopMsgReq = data => {
  return request({
    method: 'post',
    url: '/shop/edit',
    data,
  })
}
